export interface categoryType {
  id: number;
  name: string;
  category1Id?: number;
  category2Id?: number;
}

export type categoryResponseData = categoryType[];



//平台属性值的接口类型
export interface attrInfoType {
  id?: number;
  valueName: string;
  attrId?: number;
}
//属性值数组类型
export type attrValueList = attrInfoType[];

//单个平台属性的类型
export interface attrModel {
  id: number;
  attrName: string;
  categoryId: number;
  categoryLevel: number;
  attrValueList: attrValueList;
}

//服务器返回已有的平台属性的数据
export type attrResponseDataType = attrModel[]